{include file="public:header" /}
<!--友情链接分类-->
<div class="pad_lr_10" >
    <div class="J_tablelist table_list" data-acturi="{:url('LinkmenuCate/ajaxEdit')}">
    <table width="100%" cellspacing="0">
        <thead>
            <tr>
                <th width="40"><input type="checkbox" name="checkall" class="J_checkall"></th>
				<th><span tdtype="order_by" fieldname="id">ID</span></th>
                <th align="left"><span data-tdtype="order_by" data-field="name">菜单名称</span></th>
                <th><span data-tdtype="order_by" data-field="status">状态</span></th>
                <th width="250">操作</th>
            </tr>
        </thead>
    	<tbody>
            {volist name="list" id="val"}
            <tr>
                <td align="center">
                <input type="checkbox" class="J_checkitem" value="{$val.id}"></td>
				<td align="center">{$val.id}</td>
                <td><span data-tdtype="edit" data-field="title" data-id="{$val.id}" class="tdedit">{$val.title}</span></td>
                <td align="center">
                    <img data-tdtype="toggle" data-id="{$val.id}" data-field="status" data-value="{$val.status}" src="__IMG__/toggle_{if condition="$val.status eq 0"}disabled{else/}enabled{/if}.gif" /></td>
                <td align="center">
                    {:rights($options,$val['id'],$val['title'])}
                </td>
            </tr>
            {/volist}
    	</tbody>
    </table>
    </div>

    <div class="btn_wrap_fixed">
    	<label><input type="checkbox" name="checkall" class="J_checkall">全选/取消</label>
    	<input type="button" class="btn" data-tdtype="batch_action" data-acttype="ajax" data-uri="{:url('LinkmenuCate/delete')}" data-name="id" data-msg="确定要删除所选记录么？" value="删除" />
    	<div id="pages">{$pages}</div>
    </div>
</div>
{include file="public:footer" /}
</body>
</html>
